﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;

namespace Role.Data
{
  public abstract class LoseRepository<T> where T : class
  {
    protected readonly static DbContext _db = new Role.Entity.RoleContainer();

    public IQueryable<T> GetModel()
    {
      return _db.Set<T>();
    }
  }

}
